package com.zzyl.serve.dto;

import com.zzyl.common.annotation.Excel;
import com.zzyl.serve.domain.NursingProjectPlan;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("护理计划及项目")
public class NursingPlanDto {
    /**
     * 编号
     */
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 排序号
     */
    @Excel(name = "排序号")
    @ApiModelProperty(value = "排序号")
    private Integer sortNo;

    /**
     * 名称
     */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String planName;

    /**
     * 状态 0禁用 1启用
     */
    @Excel(name = "状态 0禁用 1启用")
    @ApiModelProperty(value = "状态 0禁用 1启用")
    private Integer status;

    /**
     * 项目计划集合
     */
    @Excel(name = "项目计划集合")
    @ApiModelProperty(value = "项目计划集合")
    private List<NursingProjectPlan> projectPlans;

}
